package com.echo.code.spring.core;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * Description
 *
 * @author baiyp
 * @version 1.0.0
 * @date 2019/04/14
 */
@Setter
@Getter
@ToString
@Configuration
public class SystemConfig {

  @Value("#{systemProperties['os.name']}")
  private String osName;

  @Value("#{systemProperties['os.version']}")
  private String osVersion;
}
